import { defineStore } from 'pinia'
 
interface IState{
    GroupList:string[],
    GroupAll:string[],
}

const Group =defineStore({
    id:'Group',
    state:():IState=>({
        GroupList:[],
        GroupAll:[]
      }),
      persist: {
		enabled: true, // 开启持久化保存
	  },
	
    
    getters:{

    },
    actions:{
        setGroupList(GroupList:any){
            this.GroupList=GroupList
        },
        setGroupAll(GroupAll:any){
            this.GroupAll=GroupAll
        },

    }

    
})
export default Group